:root {
  font-family: 'DIN Alternate', 'Segoe UI', 'Microsoft YaHei', sans-serif;
  line-height: 1.5;
  font-weight: 400;
  color: #d4efff;
  font-synthesis: none;
  text-rendering: optimizeLegibility;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

* {
  box-sizing: border-box;
}

body {
  margin: 0;
  min-height: 100vh;
  background: radial-gradient(circle at 20% 20%, rgba(16, 86, 146, 0.25), transparent 55%),
    radial-gradient(circle at 80% 10%, rgba(31, 140, 214, 0.22), transparent 40%),
    linear-gradient(180deg, #031126 0%, #010d1d 100%);
  backdrop-filter: blur(4px);
  color: inherit;
  overflow: hidden;
}

#app {
  width: 100%;
  height: 100vh;
}

a {
  color: inherit;
  text-decoration: none;
}

/* 全局滚动条样式 */
::-webkit-scrollbar {
  width: 8px;
  height: 8px;
}

::-webkit-scrollbar-track {
  background: rgba(28, 165, 255, 0.1);
  border-radius: 4px;
}

::-webkit-scrollbar-thumb {
  background: rgba(61, 193, 255, 0.6);
  border-radius: 4px;
  transition: background-color 0.3s ease;
}

::-webkit-scrollbar-thumb:hover {
  background: rgba(61, 193, 255, 0.8);
}

::-webkit-scrollbar-corner {
  background: rgba(28, 165, 255, 0.1);
}

/* 3D场景报警标签样式 */
.alert-label-3d {
  user-select: none;
  pointer-events: none;
}

.alert-label-content {
  background: linear-gradient(135deg, rgba(10, 20, 35, 0.98), rgba(5, 15, 28, 0.98));
  border: 1px solid rgba(255, 68, 68, 0.6);
  border-radius: 8px;
  padding: 8px 12px;
  box-shadow: 
    0 4px 16px rgba(0, 0, 0, 0.5),
    0 0 20px rgba(255, 68, 68, 0.4);
  min-width: 180px;
  backdrop-filter: blur(4px);
}

.alert-label-title {
  color: #ff4444;
  font-size: 14px;
  font-weight: 600;
  margin-bottom: 4px;
  text-shadow: 0 0 10px rgba(255, 68, 68, 0.6);
}

.alert-label-time {
  color: rgba(255, 200, 200, 0.8);
  font-size: 11px;
  margin-bottom: 2px;
}

.alert-label-camera {
  color: rgba(255, 180, 180, 0.7);
  font-size: 10px;
}
